package com.model
{
	
	
	import com.model.valueObjects.VOInvoiceMaster;
	
	import flash.utils.ByteArray;
	
	import mx.collections.ArrayCollection;
	
	public class Model
	{
	[Bindable]
	public var Username:String;	
	[Bindable]
	public var Password:String;	
	[Bindable]
	public var clientId:String;	
		
	[Bindable]
	public var loginText:String='Login';
		
	[Bindable]
	public var currentUser:String;
	[Bindable]
	public var currentDatabase:String;
		
	[Bindable]
	public var currentEditInvoiceVO:VOInvoiceMaster;
	
	[Bindable]
	public var currentFolderId:String;
	
	[Bindable]
	public var currentFolders:Array;
	
	[Bindable]
	public var showImageLayout:Boolean=true;
	
	[Bindable]
	public var currentScreen:int;	
	
	[Bindable]
	public var invoiceImage:ByteArray;
	[Bindable]
	public var allInvoiceImages:ArrayCollection;
	[Bindable]
	public var currentButtonIndex:int;	
	
	[Bindable]
	public var UserMasterDetails:ArrayCollection;
	
	[Bindable]
	public var ClientMasterDetails:ArrayCollection;	
	
	[Bindable]
	public var SplitTableMasterDetails:ArrayCollection;	
	
	[Bindable]
	public var InvoiceMasterDetails:ArrayCollection;	
	//sub tables Collection
	[Bindable]
	public var FolderMaster:ArrayCollection;
	[Bindable]
	public var VendorMaster:ArrayCollection;
	[Bindable]
	public var CatagoryMaster:ArrayCollection;
	[Bindable]
	public var ProjectCodeMaster:ArrayCollection;
	[Bindable]
	public var PaymentTypeMaster:ArrayCollection;
	[Bindable]
	public var ExpenseTypeMaster:ArrayCollection;
	[Bindable]
	public var LocationMaster:ArrayCollection;
	[Bindable]
	public var CustomerMaster:ArrayCollection;
	[Bindable]
	public var TaxCatagoryMaster:ArrayCollection;
	[Bindable]
	public var UserIDMaster:ArrayCollection;
	
	[Bindable]
	public var editPopupTitle:String;
	
	}
}